package com.winxuan.channel.model.commodity;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @ CommodityExclude.java 
 * To:
 * Warn:

 * Note:winxuan.com
 * VERSION       DATE            BY       CHANGE/COMMENT
 * 1.0          2011-6-11          HideHai         2011-6-11
 */
@Entity
@Table(name="exclude")
public class CommodityExclude implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 149673304955818932L;
	@Id
	@GeneratedValue(strategy=GenerationType.AUTO)
	private Integer id;
	@Column(name = "distribute")
	private Integer distribute;
	@Column(name = "commodity")
	private Integer commodity;
	@Column(name = "createtime")
	private Date createtime;
	@Column(name = "enabledate")
	private Date enabledate;
	@Column(name = "disabledate")
	private Date disabledate;
	@Column(name = "isSyncStock")
	private boolean isSyncStock;
	@Column(name = "remark")
	private String remark;
	
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getDistribute() {
		return distribute;
	}
	public void setDistribute(Integer distribute) {
		this.distribute = distribute;
	}
	public Integer getCommodity() {
		return commodity;
	}
	public void setCommodity(Integer commodity) {
		this.commodity = commodity;
	}
	public Date getCreatetime() {
		return createtime;
	}
	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}
	public Date getEnabledate() {
		return enabledate;
	}
	public void setEnabledate(Date enabledate) {
		this.enabledate = enabledate;
	}
	public Date getDisabledate() {
		return disabledate;
	}
	public void setDisabledate(Date disabledate) {
		this.disabledate = disabledate;
	}
	public boolean isSyncStock() {
		return isSyncStock;
	}
	public void setSyncStock(boolean isSyncStock) {
		this.isSyncStock = isSyncStock;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}

}
